<?php

namespace VMS\VitrineMultiSocieteBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Article
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Article
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="reference", type="string", length=255)
     */
    private $reference;

    /**
     * @var string
     *
     * @ORM\Column(name="designation", type="string", length=255)
     */
    private $designation;

    /**
     * @var integer
     *
     * @ORM\Column(name="prixUnitaireHt", type="integer")
     */
    private $prixUnitaireHt;

    /**
     * @var integer
     *
     * @ORM\Column(name="qteStock", type="integer")
     */
    private $qteStock;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="dureeGarantie", type="date")
     */
    private $dureeGarantie;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set reference
     *
     * @param string $reference
     * @return Article
     */
    public function setReference($reference)
    {
        $this->reference = $reference;
    
        return $this;
    }

    /**
     * Get reference
     *
     * @return string 
     */
    public function getReference()
    {
        return $this->reference;
    }

    /**
     * Set designation
     *
     * @param string $designation
     * @return Article
     */
    public function setDesignation($designation)
    {
        $this->designation = $designation;
    
        return $this;
    }

    /**
     * Get designation
     *
     * @return string 
     */
    public function getDesignation()
    {
        return $this->designation;
    }

    /**
     * Set prixUnitaireHt
     *
     * @param integer $prixUnitaireHt
     * @return Article
     */
    public function setPrixUnitaireHt($prixUnitaireHt)
    {
        $this->prixUnitaireHt = $prixUnitaireHt;
    
        return $this;
    }

    /**
     * Get prixUnitaireHt
     *
     * @return integer 
     */
    public function getPrixUnitaireHt()
    {
        return $this->prixUnitaireHt;
    }

    /**
     * Set qteStock
     *
     * @param integer $qteStock
     * @return Article
     */
    public function setQteStock($qteStock)
    {
        $this->qteStock = $qteStock;
    
        return $this;
    }

    /**
     * Get qteStock
     *
     * @return integer 
     */
    public function getQteStock()
    {
        return $this->qteStock;
    }

    /**
     * Set dureeGarantie
     *
     * @param \DateTime $dureeGarantie
     * @return Article
     */
    public function setDureeGarantie($dureeGarantie)
    {
        $this->dureeGarantie = $dureeGarantie;
    
        return $this;
    }

    /**
     * Get dureeGarantie
     *
     * @return \DateTime 
     */
    public function getDureeGarantie()
    {
        return $this->dureeGarantie;
    }
}
